package com.backend.service;

import com.backend.entity.entity.Users;
import com.backend.entity.entity.WorkOrders;

import java.util.List;

/**
 * 作者:xuSen
 * 日期2025/7/20 11:05
 */
public interface RepairmanService {
    //根据状态获取工单
    List<WorkOrders> getWorkOrderByStatus(Integer status);
    //更新工单状态
    void updateWorkOrderStatus(Integer orderId, Integer status);
    //获取工单详情
    WorkOrders getWorkOrderDetail(Integer orderId);
    //查询所有维修工信息
    List<Users> getAllRepairman();
    List<WorkOrders> getWorkOrderByStatusAndRepairId(Integer status, Integer repairId);
}
